//
//  MKClassifyCollectionViewCell.m
//  ManKeCartoon
//
//  Created by dllo on 15/10/16.
//  Copyright © 2015年 ManKe. All rights reserved.
//

#import "MKClassifyCollectionViewCell.h"
#import "MKBaseHeader.h"

@implementation MKClassifyCollectionViewCell
-(instancetype)initWithFrame:(CGRect)frame
{
    if (self = [super initWithFrame:frame]) {
        
        
        _classifyButton = [[UIButton alloc] initWithFrame:CGRectMake(0, 0, 100*WIDTH, 76*HEIGHT)];        [_classifyButton.layer setMasksToBounds:YES];
        [_classifyButton.layer setCornerRadius:8.0];
        [self.contentView addSubview:_classifyButton];
        
        
        _classifyLabel = [[UILabel alloc] initWithFrame:CGRectMake(_classifyLabel.frame.size.width / 3+22, self.frame.size.width / 5 * 3+12, self.contentView.frame.size.width / 2, 30)];
        [_classifyLabel setFont:[UIFont boldSystemFontOfSize:18]];
//        [_classifyLabel setBackgroundColor:[UIColor redColor]];
        [_classifyLabel setTextColor:[UIColor blackColor]];
        [_classifyLabel setTextAlignment:NSTextAlignmentCenter];
        [self.contentView addSubview:_classifyLabel];
        
        
        
    }
    return self;
}
@end
